﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Sekretar
{
    public partial class SekretarMain : Common.Forms.Main
    {
        public static bool jeAktivanModul = false;

        public SekretarMain()
        {
            InitializeComponent();
            jeAktivanModul = true;
        }

        private void SekretarMain_FormClosed(object sender, FormClosedEventArgs e)
        {
            jeAktivanModul = false;
        }



        private void zaposleniToolStripMenuItem_Click(object sender, EventArgs e)
        {
            DrzavaBrowse f = new DrzavaBrowse();
            f.MdiParent = this;
            f.Show();
        }

        private void spisakZaposlenihToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ZaposleniBrowse f = new ZaposleniBrowse();
            f.MdiParent = this;
            f.Show();
        }

        private void stručneSpremeToolStripMenuItem_Click(object sender, EventArgs e)
        {
            StrucnaSpremaBrowse f = new StrucnaSpremaBrowse();
            f.MdiParent = this;
            f.Show();
        }

        private void stečeneStručneSpremeToolStripMenuItem_Click(object sender, EventArgs e)
        {
          
        }

        private void državljanstvaToolStripMenuItem_Click(object sender, EventArgs e)
        {
        
        }

        private void nacionalnostiToolStripMenuItem_Click(object sender, EventArgs e)
        {
            NacionalnostBrowse f = new NacionalnostBrowse();
            f.MdiParent = this;
            f.Show();
        }

        private void toolStripMenuItem4_Click(object sender, EventArgs e)
        {
            MestoBrowse f = new MestoBrowse();
            f.MdiParent = this;
            f.Show();
        }

        private void razlogPrimanjaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            RazlogPrimanjaBrowse f = new RazlogPrimanjaBrowse();
            f.MdiParent = this;
            f.Show();
        }

        private void dosijeZaposlenogToolStripMenuItem_Click(object sender, EventArgs e)
        {
            DosijeZaposlenog f = new DosijeZaposlenog();
            f.MdiParent = this;
            f.Show();
        }

        private void toolStripMenuItem7_Click(object sender, EventArgs e)
        {
            OpstinaBrowse f = new OpstinaBrowse();
            f.MdiParent = this;
            f.Show();
        }

        private void toolStripMenuItem8_Click(object sender, EventArgs e)
        {
            ZanimanjeBrowse f = new ZanimanjeBrowse();
            f.MdiParent = this;
            f.Show();
        }

        private void toolStripMenuItem9_Click(object sender, EventArgs e)
        {
            UcenikBrowse f = new UcenikBrowse();
            f.MdiParent = this;
            f.Show();
        }

        private void toolStripMenuItem10_Click(object sender, EventArgs e)
        {
            RadnoMestoBrowse f = new RadnoMestoBrowse();
            f.MdiParent = this;
            f.Show();
        }
    }
}
